package cn.gx.kevin.dao;
import cn.gx.kevin.domain.Role;
import cn.gx.kevin.dao.IBaseDao;
import cn.gx.kevin.domain.RoleMenu;

import java.util.List;
import java.util.Map;

/**
*Generate by Kevin's CodeBuilder
**/
public interface IRoleDao extends IBaseDao<Role, String> {

   List<RoleMenu> selectMenusByRole(Long roleId) throws Exception;

   void insertRoleMenus(List<RoleMenu> list)  throws Exception;

   void deleteRoleMenu(Long roleId)  throws Exception;


   void deleteRoleMenu(Map<String,Object> params)  throws Exception;

}
